def main():
    for cock in range(0, 21):
        for hen in range(0, 34):
            for chicken in range(0, 101, 3):
                if cock + hen + chicken == 100 and cock*5+hen*3+chicken//3 == 100:
                    print(f"cock={cock},hen={hen},chicken={chicken}")


if __name__ == '__main__':
    main()
